﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace PRO.Controls
{
    public interface IValidateCodeStrategy
    {
        /// <summary>
        /// 验证码类型：纯数字，纯字母，数字加字母
        /// </summary>
        int ValidateCodeType { set; get; }

        /// <summary>
        /// 字符长度
        /// </summary>
       int Length { set; get; }

        /// <summary>
        /// 单个字符的宽度范围
        /// </summary>
        int SingleStrWidth { set; get; }



        /// <summary>
        /// 单个字符的高度范围
        /// </summary>
        int SingleStrHeight { set; get; }


        // Font _Font = new Font("Arial", 9, FontStyle.Regular);//字体
        /// <summary>
        /// 字体
        /// </summary>
        Font Font { set; get; }

        Color FontColor { set; get; }
        Color BackgroundColor { set; get; }
        void Create();
    }
}
